package com.cashmama.market.api.domain.enums;

/**
 * Created with IntelliJ IDEA.
 * User: pavan
 * Date: 2019/10/11
 * Time: 下午7:18
 */
public enum Stage2ResultEnum {
    FAILED(1, "失败"),
    SUCCESS(2, "成功"),
    QUESTION(3, "需要答题"),
    QUESTION_FAILED(4, "答题失败"),
    NO_HIT(5, "未收录"),
    ;

    private Integer result;
    private String desc;

    Stage2ResultEnum(Integer result, String desc) {
        this.result = result;
        this.desc = desc;
    }

    public Integer getResult() {
        return result;
    }

    public Stage2ResultEnum setResult(Integer result) {
        this.result = result;
        return this;
    }

    public String getDesc() {
        return desc;
    }

    public Stage2ResultEnum setDesc(String desc) {
        this.desc = desc;
        return this;
    }
}
